package com.kude.manager.support;

public class BetweenCondition extends AbstractCondition {
	
	private String key;
	private String startValue;
	private String endValue;
	

	public BetweenCondition(String key, String startValue, String endValue) {
		this.key=key;
		this.startValue=startValue;
		this.endValue=endValue;
	}

	@Override
	String toSql() {
		return new StringBuilder().append(key).append(" between ").append(startValue).append(" and ").append(endValue).toString();
	}

}
